home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: peer-news.britain.eu.net!info!news
- From: Joerg <mspjoerg@swansea.ac.uk>
- Subject: Re: HELP! Compile Error!
- X-Nntp-Posting-Host: msr08.swan.ac.uk
- Content-Type: text/plain; charset=us-ascii
- Message-ID: <Dnwutz.5wy@info.swan.ac.uk>
- Sender: news@info.swan.ac.uk
- Content-Transfer-Encoding: quoted-printable
- Organization: EBMS, UW Swansea
- References: <4hi7vc$ggd@newsbf02.news.aol.com> <NEWTNews.12980.826064244.hampton@interramp.com>
- Mime-Version: 1.0
- Date: Thu, 7 Mar 1996 18:46:47 GMT
- X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
-
- us011245@interramp.com wrote:
- >In article <4hi7vc$ggd@newsbf02.news.aol.com>, <mrbig0233@aol.com> writes:
- >> I am an 11-year-old (yes, no typo) programmer, and I am trying to write a>> sorting program for a merit badge. I compile the prog=
- ram, and the error>> is:>> >> SORT.CPP 7: Declaration terminated incorrectly>> >> This is the code:>> >> #include<conio.h>>> #includ=
- e<stdio.h>>> #include<stdlib.h>>> #include<time.h>>> #include<string.h>>> >> {>> >> main()>> randomize(num1);>> randomize(num2);[=
- snip]
-
-
- >> return;>> }>> >> Please reply to this message! I NEED AN ANSWER!>> Please, in your answer, also tell me how to fix it.>> >> E-M=
- ail:>> >> MrBig0233@aol.com>>
- >
- >MrBig,
- >Your calls to strcmp look a little strange, why don't you start there.
- >Luther Hampton
- >
-
-
- I rather think he might have got something wrong at the very start. Look
- at the first "{"...
-
- Joerg
-
- --
-
-
-
- ----------------------------------------------------------------------
- Joerg Wegener
- E-Mail: mspjoerg@swansea.ac.uk
- All opinions expressed are my own.
-
- PGP key available on request.
-
- "Reason can answer questions, but imagination has to ask them."
- - Ralph N. Gerard
- ----------------------------------------------------------------------
-
-
-